#include "Log.hpp"
#include "ThreadPool.hpp"
#include "Task.hpp"
#include <iostream>
#include <memory>

using namespace ThreadPool_Module;

int main(){
	ThreadPool<task_t> pool;
	pool.Start();

	pool.Enqueue(Download);
	sleep(5);
	
	pool.Stop();

	pool.Wait();
	
	return 0;
}